* {
    margin: 0;
    padding: 0;
}

.flex {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
}

.box {
    overflow: hidden;
}


/* 头部开始 */

.head {
    width: 100%;
}

.heads {
    width: 100%;
    color: white;
    background-color: #012c4c;
    /* background: url(../img/b9.png); */
    padding: 1rem 0;
}

.head_top {
    width: 80%;
    margin: 0 auto;
}

.mail {
    width: 50%;
}

.mail img {
    width: 10%;
    height: 70%;
}

.tou_you1 {
    width: 37%;
}

.heads1 {
    width: 100%;
    background-color: #f0f0f0;
}

.head_bottom {
    width: 80%;
    margin: 0 auto;
}

.bott_zuo {
    /* width: 40%; */
    padding: 1rem 0;
}

.bott_zuo img {
    width: 70%;
}

.bott_you ul li {
    padding: 2rem 2rem;
    font-weight: bold;
}

.bott_you ul li a {
    text-decoration: none;
    color: #000;
}

.bott_you ul li:first-child a {
    color: #f59435;
}


/* banner开始 */

.banner {
    width: 100%;
    height: 700px;
    display: block;
    background: url('../img/x1.png') no-repeat;
    background-size: 100% 100%;
}

.banner_main {
    width: 60%;
    margin: 0 auto;
}

.banner_one {
    width: 100%;
    color: white;
    text-align: center;
    font-size: 1.2rem;
    padding: 3rem 0;
}

.banner_one .p1 {
    font-weight: bold;
    font-size: 3rem;
}

.banner_two {
    width: 60%;
    padding: 1rem 0;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(206, 207, 209, 0.5);
}

.banner_two input {
    border: none;
    width: 70%;
    border-radius: 0.3rem;
    padding: 0.5rem 0.3rem;
}

.banner_two button {
    background-color: #ff941f;
    width: 20%;
    border: none;
    border-radius: 0.3rem;
    padding: 0.5rem 0.3rem;
}

.banner_two button img {
    width: 20%;
    height: 20%;
}

.banner_three {
    width: 100%;
    padding: 10rem 0;
    color: #fff;
    font-size: 1.1rem;
}

.banner_three ul li {
    float: left;
    padding: 0 0.5rem;
}


/* 第三部分 */

.content {
    width: 100%;
    background-color: #f4f3ee;
}

.contents {
    width: 80%;
    margin: 0 auto;
    padding: 2rem 0;
}

.contents .boost {
    width: 30%;
    border-radius: 0.6rem;
    background-color: #fff;
}

.boost img {
    width: 100%;
    border-radius: 0.6rem;
}

.boost .civita {
    border-bottom: #000 1px solid;
    font-size: 1.87rem;
    font-weight: bold;
    padding: 0.5rem 1rem;
}

.boost .month {
    color: #ccc;
    font-weight: bold;
    padding: 0.5rem 1rem;
}

.boost .name_john span {
    color: #ff941f;
}

.boost:hover {
    transform: scale(1.07) !important;
    cursor: pointer;
    box-shadow: 5px 5px 10px 5px #ccc;
}


/* about us */

.about {
    width: 100%;
}

.about_us {
    width: 80%;
    margin: 1rem auto;
    color: #999;
}

.abuot_top {
    text-align: center;
    font-size: 1.2rem;
    padding: 2rem 1rem;
}

.abuot_top h1 {
    text-align: center;
    color: #f59435;
}

.about_bottom {
    width: 100%;
}

.about_us .button1 {
    margin: 2rem auto;
    width: 10%;
}

.about_us button {
    background-color: #ff941f;
    color: #fff;
    border: none;
    width: 100%;
    padding: 0.6rem;
    border-radius: 2rem;
}

.about_box {
    width: 30%;
    /* background-color: #f00; */
}

.about_box .tu1 {
    width: 30%;
    border: #ccc 1px solid;
    border-radius: 5rem;
    padding: 0.5rem 0;
    margin: 0.5rem auto;
    text-align: center;
}

.about_box .tu1 img {
    width: 80%;
    margin: 0 auto;
}

.about_box .lorem {
    font-size: 1.2rem;
    text-align: center;
}

.about_box .lorem_one {
    font-size: 2rem;
    color: #000;
}


/* 第五部分 */

.curabitur {
    width: 100%;
    height: 20rem;
    background: url('../img/c3.jpg') no-repeat;
    background-size: 100% 100%;
}

.curabitur p {
    width: 80%;
    margin: 0 auto;
    padding: 2.6rem 0;
    font-weight: bold;
    font-size: 3rem;
    text-align: center;
    color: #fff;
}


/* services */

.services {
    width: 100%;
    background-color: #f0f0f0;
}

.services_main {
    width: 80%;
    margin: 0 auto;
    color: #999;
}

.ser_top {
    padding: 1rem;
}

.orange {
    width: 10%;
    margin: 0.5rem auto;
    background-color: #f59435;
    height: 0.3rem;
}

.ser_box {
    width: 23%;
    padding: 2rem 0;
    text-align: center;
}

.ser_box img {
    width: 20%;
    height: 40%;
}

.ser_box .hend {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0.5rem;
    color: #000;
}


/* .tu4 {
    display: none;
} */


/* 第八部分 */

.comment {
    width: 100%;
}

.comments {
    width: 80%;
    margin: 0 auto;
    padding: 3rem 0;
}

.comment_left {
    width: 60%;
    /* background-color: #f00; */
}

.comment_right {
    width: 38%;
    /* background-color: #ccc; */
}

.zuocom_top {
    width: 100%;
}

.top_right {
    padding: 0 0.5rem;
}

.top_right .danny {
    font-weight: bold;
}

.top_right .danny span {
    color: #ff941f;
}

.top_right .nam {
    color: #ccc;
}

.zuocom_bot {
    padding: 1rem 0;
}

.zuocom_bot .cum {
    width: 30%;
}

.zuocom_bot .cum p {
    color: #666;
    font-weight: bold;
}

.zuocom_bot .cum img {
    width: 100%;
}

.xian {
    width: 100%;
}

.xian .xian1 {
    background-color: #f59435;
    width: 40%;
    height: 0.3rem;
}

.xian .xian2 {
    background-color: #ccc;
    width: 60%;
    height: 0.3rem;
}

.comment_right ul li {
    border-bottom: #ccc 2px solid;
    padding: 1.2rem 0;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #666;
}


/* 底部 */

.foot {
    width: 100%;
}

.foot_top {
    width: 100%;
    background-color: #26232c;
    color: #66676b;
    padding: 1rem 0;
}

.ftop_main {
    margin: 0 auto;
    width: 80%;
}

.ftm_box1 {
    width: 30%;
    /* background-color: #fff; */
}

.ftm_box1 .logo_zi {
    color: #fff;
    width: 60%;
    font-weight: bold;
    font-size: 2.5rem;
}

.ftm_box1 .logo_zi .span1 {
    color: #f59435;
}

.ftm_box1 .logo_zi p {
    font-size: 1.2rem;
}

.ftm_box2 {
    width: 30%;
    /* background-color: #fff; */
}

.ftm_box2 h2 {
    color: #fff;
}

.ftm_box2 p {
    line-height: 1.8rem;
}

.ftm_box2 input {
    width: 100%;
    background-color: #26232c;
    border: #ccc 1px solid;
}

.ftm_box2 .but2 {
    width: 60%;
    margin: 1rem 0;
    background-color: #ff941f;
    padding: 0.5rem 0;
    color: #fff;
}

.ftm_box3 {
    width: 30%;
    /* background-color: #fff; */
}

.ftm_box3 h2 {
    color: #fff;
}

.four_img {
    width: 100%;
    padding: 1rem 0;
}

.four_img .img2 {
    width: 20%;
}

.four_img .img2 img {
    width: 100%;
}

.foot_bot {
    width: 100%;
    background-color: #312e37;
    color: #9998a0;
    padding: 1.6rem 0;
}

.fbot_main {
    width: 50%;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
}

@media (max-width:980px) {
    /* 头部开始 */
    .head_top {
        width: 90%;
        display: block;
    }
    .tou_you1 {
        width: 80%;
        margin: 1rem auto;
        text-align: center;
    }
    .mail {
        font-size: 0.8rem;
    }
    .head_bottom {
        width: 90%;
        display: block;
    }
    .bott_zuo {
        width: 100%;
        padding: 1rem 0;
    }
    .bott_zuo img {
        width: 50%;
    }
    .bott_you {
        overflow: hidden;
    }
    .bott_you ul {
        margin: 0px;
        display: block;
    }
    .list li {
        float: left;
    }
    /* banner开始 */
    .banner_main {
        width: 100%;
        margin: 0 auto;
    }
    .banner_one {
        font-size: 1.8rem;
        width: 100%;
    }
    .banner_one .p1 {
        font-size: 3.5rem;
    }
    .banner_two {
        width: 100%;
    }
    /* 第三部分 */
    .contents {
        width: 100%;
        display: block;
    }
    .contents .boost {
        width: 80%;
        margin: 1rem 2rem;
    }
    .curabitur p {
        width: 90%;
        padding: 2rem 0;
        font-size: 2rem;
    }
    /* about us */
    .about {
        width: 100%;
    }
    .about_us {
        width: 90%;
    }
    .about_bottom {
        width: 100%;
        display: block;
    }
    .about_us .button1 {
        width: 30%;
    }
    .about_box {
        width: 80%;
        margin: 0 auto;
    }
    /* services */
    .services_main {
        width: 90%;
        margin: 0 auto;
    }
    .four_ser {
        display: block;
    }
    .ser_box {
        width: 100%;
        text-align: center;
    }
    /* 第八部分 */
    .comments {
        width: 90%;
        margin: 0 auto;
        display: block;
    }
    .zuocom_top {
        display: block;
        width: 100%;
    }
    .zuocom_top img {
        width: 100%;
    }
    .comment_left {
        width: 100%;
        /* background-color: #f00; */
    }
    .comment_right {
        width: 100%;
        /* background-color: #ccc; */
    }
    .zuocom_bot {
        display: block;
    }
    .zuocom_bot .cum {
        width: 60%;
    }
    .comment_right ul li {
        font-size: 1rem;
    }
    /* 底部 */
    .ftop_main {
        display: block;
    }
    .ftm_box1 {
        width: 100%;
        /* background-color: #fff; */
    }
    .ftm_box2 {
        width: 100%;
        /* background-color: #fff; */
    }
    .ftm_box3 {
        width: 100%;
        /* background-color: #fff; */
    }
    .four_img {
        display: block;
    }
    .four_img .img2 {
        width: 100%;
        padding: 1rem 0;
    }
    .fbot_main {
        width: 90%;
    }
}